KeyEvent

interface KeyEvent

A common interface that all keyboard events must extend.

Inheritors

Functions

Link copied to clipboard
abstract fun keyCode(): KeyCode
Returns the code of the key.
Link copied to clipboard
abstract fun keyLocation(): KeyLocation
Returns the location of the key on the keyboard.
Link copied to clipboard
abstract fun keyModifiers(): KeyModifiers
Returns the keyboard modifiers applied.